/* shoe2.c -- 把鞋码转换为英寸 */

#include <stdio.h>
#define ADJUST 7.31

int main(void)
{
  const double SCALE = 0.333;
  double shoe, foot;

  shoe = 3.0;
  
  while (shoe < 18.5)
  {
    foot = SCALE * shoe + ADJUST;
    printf("%.1f size = %.2f foot\n", shoe, foot);
    shoe += 1.0;
  }
    
  return 0;
}